package com.bwsoft.portal.service;

import java.io.File;

import com.bwsoft.admin.domain.Account;
import com.bwsoft.api.pojo.ResponsePojo;

public interface RegisterService {
	
	public static final String NAME = "registerServiceImpl";

	/**
	 * 公司注册
	 * @param accountType 
	 * @param account 
	 * @param compNature 
	 * @return
	 */
	ResponsePojo regCompany(Account account, int accountType, String compName, String linkMan, String phone,
			String address, String email, String password, String fax,
			Integer compNature, String cnasFlag, File img1, String img1FileName, File img2, String img2FileName);

	ResponsePojo regPerson(Account regAccount, int accountType, String mobile,
			String loginpwd);

	boolean checkCode(String mobile, String checkcode);
	
	/*
	 * 注册时检查账号是否已经存在
	 */
	public boolean checkAccount(String account);

}
